#ifndef __DRAW_H__
    #define __DRAW_H__

    #include <stdio.h>
    #include <windows.h>
    #include "basic.h"

    //dimension config
    #define gHEIGHT 6
    #define gWIDTH 80

    //color config
    #define DEFAULT     DARK_WHITE
    #define DEFAULTBG   BLACK

    #define TEXTBOX     WHITE
    #define TEXTBOXBG   BLACK

    #define TOPBAR      YELLOW
    #define TOPBARBG    RED

    #define FRAME       YELLOW
    #define FRAMEBG     BLACK

    int drawFrame(int top, int width, int height, int collumns);
    void drawTextBox(int row, int line, int width, char *str);
    void drawBar(int row, char *str1, char *str2, int color, int bgcolor);

#endif // __DRAW_H__
